﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HRM.Entity;
using HRM.DAL;

namespace HRM.BIZ
{
    public class UserBiz: BaseBiz
    {
        public HRUser GetUser(int userID)
        {
            return new UserDAL().GetUser(userID);
        }

        public HRUser GetUser(string userName)
        {
            return new UserDAL().GetUser(userName);
        }

        public HRUser GetUser(string userName, string password)
        {
            return new UserDAL().GetUser(userName, password);
        }

        public List<HRUser> GetAll()
        {
            return new UserDAL().GetAllUser();
        }
    }
}
